apps domains configuration.md


Here is the extracted text from the screenshot detailing the domain configurations in the Caddyfile (`/etc/caddy/Caddyfile`).

### **All 13 Domains in Caddyfile**

| # | Domain | Type | Backend | Line |
| :--- | :--- | :--- | :--- | :--- |
| **1** | `ielts.fast` | Reverse proxy (Express + APIs) | Docker :8093 / :5000 / :8000 / PB :8090 | 25 |
| **2** | `promedic1.com` | Static landing page | `/var/www/promedic1.com` | 162 |
| **3** | `clinical.promedic1.com` | Static drug reference | `/var/www/clinical` | 226 |
| **4** | `drugs.promedic1.com` | Static drug bank | `/var/www/drugs-promedic1` | 306 |
| **5** | `diet.promedic1.com` | SPA + API proxy | `/var/www/diet-plans/dist + PB :8091` | 386 |
| **6** | `coach.promedic1.com` | SPA + API proxy | `/var/www/coach.promedic1.com + PB :8092` | 543 |
| **7** | `female.promedic1.com` | Static women's health | `/var/www/female-promedic1` | 692 |
| **8** | `listening.ielts.fast` | Static exams | `/var/www/ielts-listening-exams/dist` | 773 |
| **9** | `exercise.ielts.fast` | Static exercises | `/var/www/ielts-exercise/dist` | 840 |
| **10** | `reading.ielts.fast` | Static reading | `/var/www/ielts-reading` | 907 |
| **11** | `the.ielts.fast` | IELTS hub/landing | Docker :8094 | 974 |
| **12** | `pocketcoach.promedic1.com` | PB admin UI (302 $\rightarrow$ `/_/`) | Reverse proxy :8092 | 1024 |
| **13** | `pocketdiet.promedic1.com` | PB admin UI (302 $\rightarrow$ `/_/`) | Reverse proxy :8091 | 1045 |

---

### **Organization Notes:**
* **`promedic1.com` group (6 domains):** landing, clinical, drugs, coach, diet, female.
* **`ielts.fast` group (5 domains):** main app + listening, exercise, reading, the.
* **PB admin group (2 domains):** pocketcoach, pocketdiet.
* **Redirects:** `http://46.62.228.173` $\rightarrow$ redirects to `https://promedic1.com` (line 685), and `www.promedic1.com` / `www.ielts.fast` redirects handled by Caddy auto-HTTPS.